/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package east2west.interfaces;

import east2west.dto.TourPriceDTO;
import java.util.ArrayList;

/**
 *
 * @author nguyendat
 */
public interface TourPriceInterface {

    ArrayList<TourPriceDTO> readByAll();

    ArrayList<TourPriceDTO> findPrice(float price);

    ArrayList<TourPriceDTO> findByDto(TourPriceDTO dto);

    TourPriceDTO findById(int id);

    boolean create(TourPriceDTO dto);

    boolean update(TourPriceDTO dto);

    boolean delete(TourPriceDTO dto);

    boolean delete(int id);

    ArrayList<TourPriceDTO> avgPrice(int id);

    float getMin(int id);

    float getMax(int id);
}
